package cn.ecut.dao;

import cn.ecut.model.Xiangmu;
import cn.ecut.model.Yuangong;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface XiangmuDao {
    int deleteByPrimaryKey(String xiangmubianma);
    int deleteloudong(String xiangmubianma);
    int deletetaofang(String xiangmubianma);
    int deletefangjian(String xiangmubianma);
    int deletepuwei(String fiangjianbianma);
    String selectfangjian(String xiangmubianma);
    int insert(Xiangmu xinamu);

    int insertSelective(Xiangmu record);

    Xiangmu selectByPrimaryKey(String xiangmubianma);

    int updateByPrimaryKeySelective(Xiangmu record);

    int updateByPrimaryKey(Xiangmu xiangmu);
    String selectThelast();
    List<Xiangmu> selectAll();
    int selectAllcount();
    int updateQiyong(Xiangmu xiangmu);
    List<Xiangmu> advanceSelect(String s);
}